package com.lanqiao.guimei.vo;

import java.util.Date;

public class SaleProd {

  private Integer id;
  private String prodNo;
  private Integer salerId;
  private Integer stkId;
  private Double realPrice;
  private Integer carriage;
  private Date starTime;
  private Date endTime;
  private String prodSkin;
  private String location;
  private Integer status;
  private Product product;
  private GuimeiUsers guimeiUsers;
  private Stock stock;

  public SaleProd() {
  }

  public SaleProd(Integer id,
                  String prodNo,
                  Integer salerId,
                  Integer stkId,
                  Double realPrice,
                  Integer carriage,
                  Date starTime,
                  Date endTime,
                  String prodSkin,
                  String location,
                  Integer status) {
    this.id = id;
    this.prodNo = prodNo;
    this.salerId = salerId;
    this.stkId = stkId;
    this.realPrice = realPrice;
    this.carriage = carriage;
    this.starTime = starTime;
    this.endTime = endTime;
    this.prodSkin = prodSkin;
    this.location = location;
    this.status = status;
  }

  public SaleProd(Integer id, String prodNo, Integer salerId, Integer stkId, Double realPrice, Integer carriage, Date starTime, Date endTime, String prodSkin, String location, Integer status, GuimeiUsers guimeiUsers) {
    this.id = id;
    this.prodNo = prodNo;
    this.salerId = salerId;
    this.stkId = stkId;
    this.realPrice = realPrice;
    this.carriage = carriage;
    this.starTime = starTime;
    this.endTime = endTime;
    this.prodSkin = prodSkin;
    this.location = location;
    this.status = status;
    this.guimeiUsers = guimeiUsers;
  }

  public SaleProd(Integer id, String prodNo, Integer salerId, Integer stkId, Double realPrice, Integer carriage, Date starTime, Date endTime, String prodSkin, String location, Integer status, GuimeiUsers guimeiUsers, Stock stock) {
    this.id = id;
    this.prodNo = prodNo;
    this.salerId = salerId;
    this.stkId = stkId;
    this.realPrice = realPrice;
    this.carriage = carriage;
    this.starTime = starTime;
    this.endTime = endTime;
    this.prodSkin = prodSkin;
    this.location = location;
    this.status = status;
    this.guimeiUsers = guimeiUsers;
    this.stock = stock;
  }

  public SaleProd(Integer id, String prodNo, Integer salerId, Integer stkId, Double realPrice, Integer carriage, Date starTime, Date endTime, String prodSkin, String location, Integer status, Product product, GuimeiUsers guimeiUsers, Stock stock) {
    this.id = id;
    this.prodNo = prodNo;
    this.salerId = salerId;
    this.stkId = stkId;
    this.realPrice = realPrice;
    this.carriage = carriage;
    this.starTime = starTime;
    this.endTime = endTime;
    this.prodSkin = prodSkin;
    this.location = location;
    this.status = status;
    this.product = product;
    this.guimeiUsers = guimeiUsers;
    this.stock = stock;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }


  public String getProdNo() {
    return prodNo;
  }

  public void setProdNo(String prodNo) {
    this.prodNo = prodNo;
  }


  public Integer getSalerId() {
    return salerId;
  }

  public void setSalerId(Integer salerId) {
    this.salerId = salerId;
  }


  public Integer getStkId() {
    return stkId;
  }

  public void setStkId(Integer stkId) {
    this.stkId = stkId;
  }


  public Double getRealPrice() {
    return realPrice;
  }

  public void setRealPrice(Double realPrice) {
    this.realPrice = realPrice;
  }


  public Integer getCarriage() {
    return carriage;
  }

  public void setCarriage(Integer carriage) {
    this.carriage = carriage;
  }


  public Date getStarTime() {
    return starTime;
  }

  public void setStarTime(Date starTime) {
    this.starTime = starTime;
  }


  public Date getEndTime() {
    return endTime;
  }

  public void setEndTime(Date endTime) {
    this.endTime = endTime;
  }


  public String getProdSkin() {
    return prodSkin;
  }

  public void setProdSkin(String prodSkin) {
    this.prodSkin = prodSkin;
  }


  public String getLocation() {
    return location;
  }

  public void setLocation(String location) {
    this.location = location;
  }


  public Integer getStatus() {
    return status;
  }

  public void setStatus(Integer status) {
    this.status = status;
  }

  public GuimeiUsers getGuimeiUsers() {
    return guimeiUsers;
  }

  public void setGuimeiUsers(GuimeiUsers guimeiUsers) {
    this.guimeiUsers = guimeiUsers;
  }

  public Stock getStock() {
    return stock;
  }

  public void setStock(Stock stock) {
    this.stock = stock;
  }

  public Product getProduct() {
    return product;
  }

  public void setProduct(Product product) {
    this.product = product;
  }

  @Override
  public String toString() {
    return "SaleProd{" +
            "id=" + id +
            ", prodNo='" + prodNo + '\'' +
            ", salerId=" + salerId +
            ", stkId=" + stkId +
            ", realPrice=" + realPrice +
            ", carriage=" + carriage +
            ", starTime=" + starTime +
            ", endTime=" + endTime +
            ", prodSkin='" + prodSkin + '\'' +
            ", location='" + location + '\'' +
            ", status=" + status +
            '}';
  }
}
